package org.minbox.framework.command.execute.shell;

import java.util.Arrays;

/**
 * windows operating system shell
 *
 * @author 恒宇少年
 */
public class CmdShell extends AbstractShell {
    /**
     * cmd executive
     */
    private static final String WINDOWS_SHELL_COMMAND = "cmd.exe";
    /**
     * cmd args needed to execute the shell
     */
    private static final String[] COMMAND_ARGS = new String[]{"/X", "/C"};

    public CmdShell() {
        setShellCommand(WINDOWS_SHELL_COMMAND);
        setShellArgs(Arrays.asList(COMMAND_ARGS));
    }
}
